package com.boot_reggie.filter;

public class BaseContext{
    public static ThreadLocal<Long> threadLocal = new ThreadLocal<>();
    public static ThreadLocal<Long> threadLocal1 = new ThreadLocal<>();
    public static void setCurrentID(Long id){
        threadLocal.set(id);
    }

    public static void setThreadLocal1(Long id){
        threadLocal1.set(id);
    }
    public static Long getCurrentID(){
        return threadLocal.get();
    }
    public static Long getThreadLocal1(){
        return threadLocal1.get();
    }
}
